import request from '@/utils/request'

//列表
export function adxplan_list(params) {
    return request({
        url: '/v1/adxplan/list',
        method: 'get',
        params
    })
}
//详情
export function adxplan_info() {
    return request({
        url: '/v1/adxplan/info',
        method: 'get'
    })
}
//添加
export function adxplan_add(data) {
    return request({
        url: '/v1/adxplan/add',
        method: 'post',
        data
    })
}
//修改
export function adxplan_edit(data) {
    return request({
        url: '/v1/adxplan/edit',
        method: 'post',
        data
    })
}
//状态变更
export function adxplan_upflag(params) {
    return request({
        url: '/v1/adxplan/flag',
        method: 'get',
        params
    })
}
//删除
export function adxplan_stats(params) {
    return request({
        url: '/v1/adxplan/stats',
        method: 'get',
        params
    })
}
